home *** CD-ROM | disk | FTP | other *** search
/ Java Developer's Companion / Java Developer's Companion.iso / documentation / tutorial / native1.1 / implementing / example-1.1 / MyTest.h < prev    next >
Encoding:
C/C++ Source or Header  |  1997-07-13  |  1.5 KB  |  78 lines

  1. /* DO NOT EDIT THIS FILE - it is machine generated */
  2. #include <jni.h>
  3. /* Header for class MyTest */
  4.  
  5. #ifndef _Included_MyTest
  6. #define _Included_MyTest
  7. #ifdef __cplusplus
  8. extern "C" {
  9. #endif
  10. /*
  11.  * Class:     MyTest
  12.  * Method:    getLine
  13.  * Signature: (Ljava/lang/String;I)I
  14.  */
  15. JNIEXPORT jint JNICALL Java_MyTest_getLine
  16.   (JNIEnv *, jobject, jstring, jint);
  17.  
  18. /*
  19.  * Class:     MyTest
  20.  * Method:    getChar
  21.  * Signature: (Ljava/lang/StringBuffer;)I
  22.  */
  23. JNIEXPORT jint JNICALL Java_MyTest_getChar
  24.   (JNIEnv *, jobject, jobject);
  25.  
  26. /*
  27.  * Class:     MyTest
  28.  * Method:    getIntValue
  29.  * Signature: ([I[D)I
  30.  */
  31. JNIEXPORT jint JNICALL Java_MyTest_getIntValue
  32.   (JNIEnv *, jobject, jintArray, jdoubleArray);
  33.  
  34. /*
  35.  * Class:     MyTest
  36.  * Method:    createString
  37.  * Signature: (Ljava/lang/String;I)I
  38.  */
  39. JNIEXPORT jint JNICALL Java_MyTest_createString
  40.   (JNIEnv *, jobject, jstring, jint);
  41.  
  42. /*
  43.  * Class:     MyTest
  44.  * Method:    createArray
  45.  * Signature: ([I)[I
  46.  */
  47. JNIEXPORT jintArray JNICALL Java_MyTest_createArray
  48.   (JNIEnv *, jobject, jintArray);
  49.  
  50. /*
  51.  * Class:     MyTest
  52.  * Method:    getInfo
  53.  * Signature: ()I
  54.  */
  55. JNIEXPORT jint JNICALL Java_MyTest_getInfo
  56.   (JNIEnv *, jobject);
  57.  
  58. /*
  59.  * Class:     MyTest
  60.  * Method:    handleError2
  61.  * Signature: ()I
  62.  */
  63. JNIEXPORT jint JNICALL Java_MyTest_handleError2
  64.   (JNIEnv *, jobject);
  65.  
  66. /*
  67.  * Class:     MyTest
  68.  * Method:    handleError
  69.  * Signature: (I)I
  70.  */
  71. JNIEXPORT jint JNICALL Java_MyTest_handleError
  72.   (JNIEnv *, jobject, jint);
  73.  
  74. #ifdef __cplusplus
  75. }
  76. #endif
  77. #endif
  78.